<style>
    .fixed-table-container tbody td .th-inner, .fixed-table-container thead th .th-inner{
        white-space: normal !important;
    }
</style>
<div class="panel panel-default panel-intro">
    <!--  -->
    {:build_heading()}
    {if $isSuperAdmin == '1'}
    <ul class="nav nav-tabs">
        <li class="active"><a href="#one" data-toggle="tab">项目列表</a></li>
        <li><a href="#two" data-toggle="tab">待审核</a></li>
    </ul>
    {/if}
    <div class="panel-body">

        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">

                    <div id="toolbar1" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
                        {if $site.signed_add_switch}
                        <a href="javascript:;" class="btn btn-success btn-customadd {:$auth->check('project_2021/signed_add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
                        {/if}
                        <!-- <a href="javascript:;" class="btn btn-success btn-edit btn-disabled disabled {:$auth->check('project/edit')?'':'hide'}" title="{:__('Edit')}" ><i class="fa fa-pencil"></i> {:__('Edit')}</a> -->
                        <a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('project_2021/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('Delete')}</a>
                        {if $site.signed_import_switch}
                        <a href="javascript:;" class="btn btn-danger btn-import-custom {:$auth->check('project_2021/importsigned')?'':'hide'}" title="{:__('Import')}" id="btn-import-custom" data-multiple="false"><i class="fa fa-upload"></i> {:__('Import')}</a>
                        {/if}
                        <a href="javascript:;" class="btn btn-success  btn-disabled disabled btn-customedit {:$auth->check('project_2021/edit')?'':'hide'}" title="{:__('Edit')}" ><i class="fa fa-pencil"></i> {:__('Edit')}</a>
                        <a href="javascript:;" class="btn btn-info  btn-disabled disabled btn-detail {:$auth->check('project_2021/detail')?'':'hide'}" title="{:__('详情')}" ><i class="fa fa-info"></i> {:__('详情')}</a>
                        <div class="dropdown btn-group {:$auth->check('project_2021/multi')?'':'hide'}">
                            <a class="btn btn-danger btn-more dropdown-toggle btn-disabled disabled" data-toggle="dropdown"><i class="fa fa-cog"></i> {:__('新增标红')}</a>
                            <ul class="dropdown-menu text-left" role="menu">
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="is_add=1&convert_memo=新增"><i class="fa fa-bookmark"></i> {:__('新增标红')}</a></li>
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="is_add=0&convert_memo="><i class="fa fa-bookmark-o"></i> {:__('取消标红')}</a></li>
                            </ul>
                        </div>

                        <a href="javascript:;" class="btn btn-success btn-export {:$auth->check('project_2021/exportmajor')?'':'hide'}" title="{:__('导出')}" data-library_id="5"><i class="fa fa-download"></i> {:__('导出')}</a>

                        <div class="dropdown btn-group {:$auth->check('project_2021/rejectmemo')?'':'hide'}">
                            <a class="btn btn-warning btn-more dropdown-toggle btn-disabled disabled" data-toggle="dropdown"><i class="fa fa-cog"></i> {:__('驳回备注')}</a>
                            <ul class="dropdown-menu text-left" role="menu">
                                <li><a class="btn btn-link  btn-disabled disabled btn-rejectmemo" href="javascript:;" ><i class="fa fa-file-text"></i> {:__('驳回备注')}</a></li>
                                <li><a class="btn btn-link  btn-multi btn-disabled disabled" href="javascript:;" data-params="reject_memo_status=0&reject_memo="><i class="fa fa-file-text-o"></i> {:__('取消')}</a></li>
                            </ul>
                        </div>
                        <!-- <a href="javascript:;" class="btn btn-danger  btn-disabled disabled btn-mark {:$auth->check('project/mark')?'':'hide'}" data-type="1" title="{:__('标红')}" ><i class="fa fa-bookmark"></i> {:__('新增标红')}</a>
                        <a href="javascript:;" class="btn btn-success  btn-disabled disabled btn-mark {:$auth->check('project/mark')?'':'hide'}" data-type="0" title="{:__('取消标红')}" ><i class="fa fa-bookmark-o "></i> {:__('取消标红')}</a> -->
                       <!--  <a href="javascript:;" class="btn btn-success  btn-disabled disabled btn-customedit {:$auth->check('project/edit')?'':'hide'}" title="{:__('Edit')}" ><i class="fa fa-pencil"></i> {:__('Edit')}</a> -->
                       <!--  <a href="javascript:;" class="btn btn-info  btn-disabled disabled btn-detail {:$auth->check('project/detail')?'':'hide'}" title="{:__('Edit')}" ><i class="fa fa-info"></i> {:__('详情')}</a> -->
                    </div>
                    <table id="table1" class="table table-striped table-bordered table-hover" style="font-size: 10px;"
                           data-operate-edit="{:$auth->check('project_2021/edit')}"
                           data-operate-del="{:$auth->check('project_2021/del')}"
                          >
                    </table>
                </div>
            </div>
            {if $isSuperAdmin == '1'}
            <div class="tab-pane fade" id="two">
                <div class="widget-body no-padding">
                    <div id="toolbar2" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>

                    </div>
                    <table id="table2" class="table table-striped table-bordered table-hover" width="100%">
                    </table>
                </div>
            </div>
            {/if}
        </div>
    </div>
</div>
